#ifndef __SCNS_BMP280_H__
#define __SCNS_BMP280_H__

#include "ScnsConfig.h"

#if defined(SCNS_BMP280_ENABLE)&&SCNS_BMP280_ENABLE==1

#include "ScnsYing.h"
#include "ScnsBspBmp280.h"

typedef struct
{
    float temperature;
    float pressure;
    float altitude;
}ScnsBmp280Result;

extern ScnsBmp280Result scnsBmp280Result[SCNS_BMP280_MAX];

extern ScnsStatus scnsBmp280Init(ScnsBmp280Enum bmpN);
extern void scnsBmp280Interrupt(ScnsBmp280Enum bmpN);

#endif
#endif
